package com.qianji;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@MapperScan("com.qianji.mapper")
@EnableFeignClients(basePackages= "com.qianji.api")
@EnableTransactionManagement //开启事务
public class QJProjectCodeApps {

    public static void main(String[] args) {

        SpringApplication.run(QJProjectCodeApps.class,args);

    }

}
